/*
 * Copyright (c) 2013-2015 Charkey. All rights reserved.
 *
 * This software is the confidential and proprietary information of Charkey.
 * You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the agreements you entered into with Charkey.
 *
 * Charkey MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
 *
 * Charkey SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING,
 * MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
 */

package cn.simastudio.talos.core.constants;

/**
 * Usage:
 *
 * @author Charkey
 * @date 2015/5/11 9:59
 */
public class MessageCode {

    public static final String USER_LOGOUT_SUCCESS = "user.logout.success";

    public static final String USER_NOT_EXISTS = "user.not.exists";

    public static final String USER_FORCED_LOGOUT = "user.forced.logout";

    public static final String INVALID_CAPTCHA = "invalid.captcha";

    public static final String USER_BANNED_BLOCKED = "user.banned.blocked";

    public static final String USER_PASSWORD_MISMATCH = "user.password.mismatch";

    public static final String USER_FAILED_EXCEED = "user.failed.exceed";

    public static final String USER_UNKNOWN_ERROR = "user.unknown.error";

    public static final String ERROR_INVALID_REQUEST = "error.invalid.request";

    public static final String INAPPROPRIATE_STATUS_ERROR = "inappropriate.status.error";

    public static final String STATUS_UPDATE_FAILED = "status.update.failed";

    public static final String DATA_INSERT_FAILED = "data.insert.failed";

    public static final String COUNTING_UPDATE_FAILED = "counting.update.failed";

    public static final String PARAMETER_MISMATCH_ERROR = "parameter.mismatch.error";

    public static final String OPERATOR_MISMATCH_ERROR = "operator.mismatch.error";

    public static final String DATA_UPDATE_FAILED = "data.update.failed";

    public static final String QRCODE_CREATE_FAILED = "qrcode.create.failed";

    public static final String DATA_DELETE_FAILED = "data.delete.failed";

    public static final String CONSTRAINT_CHECK_FAILED = "constraint.check.failed";

    public static final String UPLOAD_SERVER_ERROR = "upload.server.error";

    public static final String UPLOAD_NOT_ALLOW_EXTENSION = "upload.not.allow.extension";

    public static final String UPLOAD_NOT_ALLOW_FLASH_EXTENSION = "upload.not.allow.flash.extension";

    public static final String UPLOAD_NOT_ALLOW_MEDIA_EXTENSION = "upload.not.allow.media.extension";

    public static final String UPLOAD_NOT_ALLOW_IMAGE_EXTENSION = "upload.not.allow.image.extension";

    public static final String UPLOAD_EXCEED_MAXSIZE = "upload.exceed.maxSize";

    public static final String UPLOAD_FILENAME_EXCEED_LENGTH = "upload.filename.exceed.length";

    public static final String UPLOAD_CONFLICT_ERROR = "upload.conflict.error";

    public static final String SYSTEM_COMPONENT_MISSING = "system.component.missing";

    public static final String ERROR_UNAUTHORIZED = "error.unauthorized";

    public static final String ERROR_NOT_FOUND = "error.not.found";

    public static final String INTERNAL_SERVER_ERROR = "internal.server.error";

    public static final String AUTHORIZATION_INFO_MISSING = "authorization.info.missing";

    public static final String BAD_REQUEST = "bad.request";
}
